STEP 13: Now let's tell the user if their guess was too low.

Just like in math, < tests if the test variable is less than the test value.

  • Go to and drag Less Than inside the for loop so it only has a ···· in front of it.
  • Change the test variable from my_var to guess.
  • Change the test value from 0 to rand_num.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)